import React from 'react'

const ErrorPage: React.FC = () => (
  <div className="flex min-h-screen flex-col items-center justify-center bg-gray-100">
    <h1 className="mb-4 text-4xl font-bold text-red-600">404 - 页面未找到</h1>
    <p className="mb-8 text-lg text-gray-700">抱歉，您访问的页面不存在。</p>
    <a
      href="/"
      className="rounded bg-blue-500 px-4 py-2 text-white hover:bg-blue-600"
    >
      返回首页
    </a>
  </div>
)

export default ErrorPage
